using System;
using System.Collections.Generic;
using System.Text;

namespace Ltf.Diffs.MergeCommands
{
	public class MergeCommandsCollection : List<MergeCommand>
	{
		public string ShortNames
		{
			get
			{
				StringBuilder sb = new StringBuilder();
				foreach (MergeCommand mc in this)
					sb.Append((sb.Length == 0 ? "" : ", ") + mc.ShortName);

				return sb.ToString();
			}

		}
	}
}
